Fabric Authenticator Backup and Restore in Cluster Setup

You can take a backup of the Master Fabric Server’s Fabric Authenticator configurations in a cluster set up and restore them using the fabric-auth-backup-restore command.

There are two main reasons you might want to perform a backup and restore of the Fabric Authenticator:

  • If you want to set up a new cluster setup with server configurations from the existing cluster setup.

  • If you want to recover the lost configurations of the fabric authenticator in an existing cluster setup.

Taking a Backup of the Fabric Authenticator

  1. Access the Master Fabric Server through SSH connection.

  2. Execute the fabric-auth-backup-restore command in the Master Fabric Server.

  3. Select Backup.

    _images/backup_select_cluster.png

    Selecting Backup

  4. Click OK to start the backup process.

_images/backup_process_cluster.png

Taking Backup

A confirmation message appears in the Fabric Server when the backup completes.

_images/backup_confirmation_cluster.png

Successful Backup Completion

  1. Click OK.

  • The Fabric Server stores the backup in the /home/cmdr-admin location of the cmdr-admin user.

  • The Fabric Server saves only one backup file. If you take two backups, the second backup file overrides the first file.

  • As a failsafe measure, make sure to copy the backup file to other remote locations too.

Restoring the Fabric Authenticator Backup

Important

  • To restore the backup in new Master Fabric Server, the Fabric Server must have same physical IP, tunnel IP and hostname as the Fabric Server from which the backup was taken.

  • To restore the backup, Fabric Server must be in the same version as the Fabric Server from which the backup was taken.

  • If you are setting up new Master Fabric Server, execute fabric-app-installer command in the Master Fabric Server.

  • After the restore process, Fabric Authenticator configurations is reverted to the state when the backup was taken. All changes made to the Fabric Authenticator configurations after the backup are lost.

There are two ways to restore a backup:

  1. Restore Fabric Authenticator Database from File

  2. Restore Fabric Authenticator Database from Slave Server

Restore Fabric Authenticator Database from File

The backup file is located in the /home directory of cmdr-admin user in existing Master Fabric Server. If you are setting up a new Master Fabric Server, copy the backup file from the existing Master Fabric Server where the backup file is located. Following example shows how to copy the backup file from existing Master Fabric Server to the new Master Fabric Server using SCP:

scp -i <path_to_rsa_file> <user>@<SOURCE_IP>:<path_to_backup_file> <user>@<DESTINATION_IP>:<path_to_backup_file>

In the above command,

  • SOURCE_IP : IP address of existing Master Fabric Server or remote server where the backup file is located.

  • DESTINATION_IP: IP address of Master Fabric Server where you want to copy the backup file.

To restore a backup from a file:

  1. Access the Master Fabric Server through SSH connection.

  2. Execute the fabric-auth-backup-restore command in the Master Fabric Server.

  3. Select Restore.

    _images/restore_select_cluster.png

    Selecting Restore

  4. Select File.

    _images/file_select.png

    Selecting File Restore Mode

  5. Enter the full path of the backup file that you want to restore.

    _images/restore_filename_cluster.png

    Entering Full Path of the Backup File

  6. Click OK to start the restore process.

    _images/restore_process_cluster.png

    Restore Progress

    In the Fabric Server, a timer starts counting down the time until the restore process completes. When the restore process is completed, the system reboots automatically.

    _images/restore_confirmation_cluster.png

    Successful Restore Completion

Restore Fabric Authenticator Database from Slave Server

To restore the backup from the slave server:

  1. Access the Master Fabric Server through SSH connection.

  2. Execute the fabric-auth-backup-restore command on the Master Fabric Server.

  3. Select Restore.

    _images/restore_select_cluster.png

    Selecting Restore

  4. Select the Network.

    _images/network_select.png

    Selecting Network Restore Mode

  5. Select the slave server from where you want to restore the configurations.

    _images/restore_network.png

    Selecting slave fabric server

  6. Click OK to start the restore process.

    _images/restore_process_cluster.png

    Restore Progress

    In the Fabric Server, a timer starts counting down the time until the restore process completes. When the restore process is completed, the system reboots automatically.

    _images/restore_confirmation_cluster.png

    Successful Restore Completion

After restoring the Fabric Authenticator configurations,

  • Perform Sync To Fabric Proxy in LPSM. For more details, go to Sync to Fabric Proxy.

  • In case of setting up new Master Fabric Server, execute recover-fabric-app command to recover the Fabric Storage.


Helpful?

We are glad this guide helped.


Please don't include any personal information in your comment

Contact Support